Hello World!

A simple program that displays “Hello, World!”. It's often used to illustrate the syntax of the language.


What Why When Where & How PRINT?


Print is a reserved Python Keyword and is a function that outputs to your console window whatever you say you want to print out. At first blush, it might appear that the print function is rather useless for programming, but it is actually one of the most widely used functions in all of python.

We can print by using single apostrophe or double apostrophe as shown below


>>>print('Hello World!')
#using single apostrophe
Hello World!
>>>print("Hello World!")
#using double apostrophe
Hello World!

#print is print the result print('Hello World!') #method one using single apostrophe print("Hello World!") #method two using double apostrophe
Just press 'Run'.